﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Write.Application.Command.Equipment
{
    /// <summary>
    /// 更新设备的中介者请求命令
    /// </summary>
    public class UpdateEquipmentCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 编号
        /// </summary>
        public long Id {  get; set; }

        /// <summary>
        /// 设备编码
        /// </summary>
        public string EquipmentCode { get; set; }
        /// <summary>
        ///  设备名称
        /// </summary>
        public string EquipmentName { get; set; }
        /// <summary>
        ///  所属车间
        /// </summary>
        public string Workshop { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        ///  // 状态
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// // 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// // 创建者
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// // 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 逻辑删除标识
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
